package com.xin.di.uav.applet.resp;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author LTQ
 */
@Data
public class BillingResponse {
    @ApiModelProperty("账单id主键")
    private String id;

    @ApiModelProperty("平台：1（丰翼配送）")
    private Integer platformCode;

    @Excel(name = "平台", width = 30)
    private String platformCodeString;

    @Excel(name = "用户", width = 30)
    private String userName;

    private String enterpriseName;

    @ApiModelProperty("即上面自编的订单编号")
    @Excel(name = "订单编号", orderNum = "1", width = 30)
    private String tcWaybillNo;

    @ApiModelProperty("订单类型，1收入2退款")
    private Integer type;


    @Excel(name = "类型", orderNum = "2", width = 30)
    private String typeString;

    @ApiModelProperty("实际支付金额")
    @Excel(name = "订单金额", orderNum = "3", width = 30)
    private BigDecimal pricePaid;


    @ApiModelProperty("币种")
    @Excel(name = "币种", orderNum = "4", width = 30)
    private String currency;

    @ApiModelProperty("支付状态")
    private Integer payStatus;

    @Excel(name = "交易状态", orderNum = "5", width = 30)
    private String payStatusString;

    private Date updateTime;

    private String userId;

    @Excel(name = "交易时间", orderNum = "6", width = 30, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("顺手付订单号")
    @Excel(name = "顺手付订单号", orderNum = "7", width = 30)
    private String tradeNo;

    @ApiModelProperty("结算渠道")
    @Excel(name = "结算渠道", orderNum = "8", width = 30)
    private String settleChannel;
    @ApiModelProperty("支付渠道")
    @Excel(name = "支付渠道", orderNum = "9", width = 30)
    private String payChannel;

    @ApiModelProperty("渠道支付流水号")
    @Excel(name = "渠道支付流水号", orderNum = "10", width = 30)
    private String channelPayNo;

    @Excel(name = "顺手付支付流水号", orderNum = "11", width = 30)
    @ApiModelProperty("顺手付支付流水号")
    private String sfpayPayNo;

    @ApiModelProperty("备注")
    @Excel(name = "备注", orderNum = "12", width = 30)
    private String remark;

    @ApiModelProperty("退款失败原因")
    @Excel(name = "退款失败原因", orderNum = "14", width = 30)
    private String refundFailedReason;
}
